<%--
  Created by IntelliJ IDEA.
  User: 11262
  Date: 2023/02/13
  Time: 11:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script src="/js/jquery-1.4.4.min.js"></script>
    <script>
        function kuayu(){
            $.ajax({
                url: "http://localhost:8081/cors/test1",
                type: "get",
                success:function (data){
                    alert(data);
                }
            });
        }

    </script>
</head>
<body>
<button value="" onclick="kuayu()">跨域</button>
</body>
</html>
